package com.springcloud.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author xiaolei
 * @version V1.0.1
 * @projectName scums
 * @packageName com.springcloud.fegin
 * @description desc
 * @email xiaolei@cscongheng.com
 * @date 2020-01-27 20:29
 **/
@FeignClient(name = "yyborder")
public interface JobService {

    @RequestMapping(value = "/query2", method = RequestMethod.GET)
    ResponseEntity<Object> query(@RequestParam("offset") int offset, @RequestParam("limit") int limit);

}
